package com.qingcheng.dao;

import com.qingcheng.pojo.order.OrderDeal;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface OrderDealMapper extends Mapper<OrderDeal> {

    @Select("SELECT * FROM tb_order_deal WHERE deal_time>=#{date1} AND deal_time<=#{date2} ")
    public List<Map> orderDealfindByTime(@Param("date1") String date1, @Param("date2") String date2);

}
